﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace tv_control_person
{
    class TV
    {
        public void DisplayAction(bool IsPowered)
        {
            if (IsPowered)
            {
                Console.WriteLine("Power is on");
            }            
        }
        public void DisplayAction(String channel)
        {            
                Console.WriteLine("We are watching - {0}",channel);
        }
        public void DisplayAction(int volume)
        {
            Console.WriteLine("Sound is set on {0}", volume);
        }
    }
}
